package com.cs.sso.repository;

import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.cs.sso.dbo.LoginLog;

import java.util.List;

@Repository
public interface LoginLogRepository extends JpaRepository<LoginLog, Integer>{
    List<LoginLog> findTop10ByUsername(String username, Sort sort);
}
